package com.sam.questionBank;

public class Temp {
    public static void main(String[] args) {
        int n = 1;

        int ratio = 7;

        while ((n * 2) <= ratio) {
            n *= 2;
        }
        System.out.println(n);
    }



}
